package com.jwsoft.manager.core.integration;

import com.bifang.module.base.common.vo.excel.ExcelReadVO;
import com.bifang.module.base.common.vo.excel.ExcelVO;
import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduLotteryAnnouncement.EduLotteryAnnouncementKeyVO;
import com.jwsoft.manager.common.vo.eduLotteryAnnouncementDetail.EduLotteryAnnouncementDetailKeyVO;
import com.jwsoft.manager.common.vo.eduLotteryAnnouncementDetail.EduLotteryAnnouncementDetailQueryVO;
import com.jwsoft.manager.common.vo.eduLotteryAnnouncementDetail.EduLotteryAnnouncementDetailVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 金华摇号结果公示详情业务本地接口
 *
 * @author wangt
 * @since 2024-06-16
 */
public interface EduLotteryAnnouncementDetailIntegration {
    /**
     * 分页查询
     */
    PageInfo<EduLotteryAnnouncementDetailVO> getList(EduLotteryAnnouncementDetailQueryVO vo);

    /**
     * 根据主键查询详情
     */
    EduLotteryAnnouncementDetailVO getById(EduLotteryAnnouncementDetailKeyVO vo);

    /**
     * 保存前统一校验
     */
    void checkSave(EduLotteryAnnouncementDetailVO vo);

    /**
     * 新增
     */
    EduLotteryAnnouncementDetailVO add(EduLotteryAnnouncementDetailVO vo);

    /**
     * 修改
     */
    EduLotteryAnnouncementDetailVO edit(EduLotteryAnnouncementDetailVO vo);

    /**
     * 根据主键删除
     */
    void del(EduLotteryAnnouncementDetailKeyVO vo);

    /**
     * 根据摇号结果公告id查询名单
     */
    List<EduLotteryAnnouncementDetailVO> getListById(EduLotteryAnnouncementKeyVO vo);

    ExcelReadVO readExcel(ExcelVO vo, MultipartFile file, EduLotteryAnnouncementDetailQueryVO queryVO);

    void exportInfo(EduLotteryAnnouncementDetailQueryVO vo, HttpServletResponse response);
}
